2000W / 48V LLC Battery-Charger  V1.00
XMC_WDT_CONFIG Struct Reference

#include <xmc_wdt.h>

Public Attributes

uint32_t window_upper_bound
 
uint32_t window_lower_bound
 
union {
   struct {
      uint32_t   __pad0__: 1
 
      uint32_t   prewarn_mode: 1
 
      uint32_t   __pad1__: 2
 
      uint32_t   run_in_debug_mode: 1
 
      uint32_t   __pad2__: 3
 
      uint32_t   service_pulse_width: 8
 
      uint32_t   __pad3__: 16
 
   } 
 
   uint32_t   wdt_ctr
 
}; 
 

Detailed Description

Structure for initializing watchdog timer. Use type XMC_WDT_CONFIG_t for this structure.

Definition at line 132 of file xmc_wdt.h.

Member Data Documentation

◆ @124

union { ... }

◆ __pad0__

uint32_t XMC_WDT_CONFIG::__pad0__

Definition at line 145 of file xmc_wdt.h.

◆ __pad1__

uint32_t XMC_WDT_CONFIG::__pad1__

Definition at line 147 of file xmc_wdt.h.

◆ __pad2__

uint32_t XMC_WDT_CONFIG::__pad2__

Definition at line 149 of file xmc_wdt.h.

◆ __pad3__

uint32_t XMC_WDT_CONFIG::__pad3__

Definition at line 153 of file xmc_wdt.h.

◆ prewarn_mode

uint32_t XMC_WDT_CONFIG::prewarn_mode

Pre-warning mode (PRE). This accepts boolean values as input.

Definition at line 146 of file xmc_wdt.h.

Referenced by L0_Watchdog_Config().

◆ run_in_debug_mode

uint32_t XMC_WDT_CONFIG::run_in_debug_mode

Watchdog timer behaviour during debug (DSP). This accepts boolean values as input.

Definition at line 148 of file xmc_wdt.h.

Referenced by L0_Watchdog_Config().

◆ service_pulse_width

uint32_t XMC_WDT_CONFIG::service_pulse_width

Service Indication Pulse Width (SPW). Generated Pulse width is of (SPW+1), in fwdt cycles.
Range: [0H to FFH]

Definition at line 150 of file xmc_wdt.h.

Referenced by L0_Watchdog_Config().

◆ wdt_ctr

uint32_t XMC_WDT_CONFIG::wdt_ctr

Definition at line 155 of file xmc_wdt.h.

Referenced by XMC_WDT_Init().

◆ window_lower_bound

uint32_t XMC_WDT_CONFIG::window_lower_bound

Lower bound for servicing window (WLB). Setting the lower bound to 0H disables the window mechanism.
Range: [0H to FFFFFFFFH]

Definition at line 138 of file xmc_wdt.h.

Referenced by L0_Watchdog_Config(), and XMC_WDT_Init().

◆ window_upper_bound

uint32_t XMC_WDT_CONFIG::window_upper_bound

Upper bound for service window (WUB). Reset request is generated up on overflow of timer. ALways upper bound value has to be more than lower bound value. If it is set lower than WLB, triggers a system reset after timer crossed upper bound value.
Range: [0H to FFFFFFFFH]

Definition at line 134 of file xmc_wdt.h.

Referenced by L0_Watchdog_Config(), and XMC_WDT_Init().


The documentation for this struct was generated from the following file: